﻿using UnityEngine;

namespace winS.UnityEditor.UIElement
{
    public class VerticalSplitline : EditorElement
    {
        public float width { get => style.minWidth.value.value; set => style.minWidth = value; }
        public Color color { get => style.backgroundColor.value; set => style.backgroundColor = value; }

        internal VerticalSplitline(ElementFactory elementFactory) : base(elementFactory)
        {
            width = 1f;
            color = elementFactory.splitlineColor;
        }
    }
}